package com.erp.app.report.genericInquiry.inquiryOutput.beans.vo;

import java.math.BigDecimal;
import java.util.ArrayList;

import com.erp.app.report.genericInquiry.inquiryOutput.ejb.InquiryOutputPK;
import com.erp.framework.model.pk.SimpleBasePk;
import com.erp.framework.model.vo.SimpleBaseVo;

public class InquiryOutputVO extends SimpleBaseVo
{
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.apexpro.app.form.beans.FormApprovalListVO";
		//this.childTypesName[1]="com.apexpro.app.form.beans.FormAttachmentVO";
	}

	protected void setDaoName() {
		this.daoName="com.erp.app.report.genericInquiry.inquiryOutput.dao.InquiryOutputDAO";
	}

	public SimpleBasePk getPrimaryKey()
	{
		return new InquiryOutputPK(this.companyCode, this.inquiryType, this.rptTime, this.lineNo);
	}

	protected void setTableSchemaName()
	{
		this.tableSchemaName = "com.erp.app.report.genericInquiry.inquiryOutput.beans.vo.InquiryOutputSchema";
	}

	protected void setBizLogicName()
	{
		this.bizLogicName = "com.erp.app.report.genericInquiry.inquiryOutput.logic.InquiryOutputBizLogic";
	}

	private String companyCode;
	private String inquiryType;
	private String rptTime;
	private BigDecimal lineNo;
	private String URL;
    private ArrayList fields = new ArrayList();	

	public String getCompanyCode() { return this.companyCode; }
	public String getInquiryType() { return this.inquiryType; }
	public String getRptTime() { return this.rptTime; }
	public BigDecimal getLineNo() { return this.lineNo; }
    public ArrayList getFields() { return fields; }
    public String getURL() { return URL;}
    public String getField(int index) {
        return (String)getFields().get(index);
    }

	public void setCompanyCode(String companyCode) { this.companyCode=companyCode; }
	public void setInquiryType(String inquiryType) { this.inquiryType=inquiryType; }
	public void setRptTime(String rptTime) { this.rptTime=rptTime; }
	public void setLineNo(BigDecimal lineNo) { this.lineNo=lineNo; }
    public void setFields(ArrayList fields) { this.fields = fields; }
    public void setURL(String URL) { this.URL= URL; }

}